package mvp.hibernate.demo.model;

import java.io.Serializable;

/**
 * Created by user on 13.07.14.
 */
public class SomeData implements Serializable {
    private static final long serialVersionUID = 1234568l;
    private int field1;
    private int field2;

    public SomeData(int field1, int field2) {
        this.field1 = field1;
        this.field2 = field2;
    }

    public int getField1() {
        return field1;
    }

    public int getField2() {
        return field2;
    }

    public String getHello() {
        return "Hello";
    }

    @Override
    public String toString() {
        return "SomeData{" +
                "field1=" + field1 +
                ", field2=" + field2 +
                '}';
    }
}
